package com.gliese.mp3.module;

import java.io.File;

public class Mp3 {

	private String title;
	private String artist;
	private String album;
	private String year;
	private String comments;
	private int genre;
	private File mp3File;

	public Mp3(String title, String artist, String album, String year,
			String comments, int genre) {
		this.title = title;
		this.artist = artist;
		this.album = album;
		this.year = year;
		this.comments = comments;
		this.genre = genre;
	}

	public Mp3(File file) {
		this.mp3File = file;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getAlbum() {
		return album;
	}

	public void setAlbum(String album) {
		this.album = album;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public int getGenre() {
		return genre;
	}

	public void setGenre(int genre) {
		this.genre = genre;
	}

	public File getMp3File() {
		return mp3File;
	}

	public void setMp3File(File mp3File) {
		this.mp3File = mp3File;
	}
	@Override
	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("title: "+this.title+"\n")
		.append("artist: "+this.artist+"\n")
		.append("album: "+this.album+"\n")
		.append("year: "+this.year+"\n")
		.append("comments: "+this.comments+"\n")
		.append("genre: "+this.genre);
		return sb.toString();
		
	}
}
